<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>

<script type="text/javascript"
	src="${pageContext.request.contextPath}/js/base/paperCheck.js">
</script>

<script type="text/javascript">
	$(function() {
		paperCheckDataGrid('${pageContext.request.contextPath}');
	});
</script>

<div class="easyui-layout" fit="true" id="paperApply-mainBody">

	<!-- Data List -->
	<div data-options="region:'center',border:false" style="padding: 5px; height: 80%">
		<table id="paperCheck-data-list"></table>
	</div>
	
	<!-- Edit Win&Form -->
	<div id="paperCheck-edit-win" class="imoia_pop" style="width: 440px;">
		<div class="imoia_pop_title">
			<strong id="paperCheck-win-title"> 审核</strong><span class="imoia_pop_closed"
				onClick="popClosed('paperCheck-edit-win')">关闭</span>
		</div>
		<form id="paperCheck-info-form" class="ui-form" method="post">
			<div class="imoia_pop_con">
				<input   type="hidden" name="id">
				<input   type="hidden" name="stuId">
				<ul>
					<li>
						<strong>审核状态:</strong>
						<span><input class="imoia_intxt easyui-combobox " type="text" id="paperCheck_status" name="state" style="width: 200px"
						data-options="required:true,missingMessage:'审核结果',editable:false,panelHeight:100,valueField: 'label',textField: 'value',
									data: [{label: '1',value: '通过'},{label: '2',value: '待审核'},{label: '3',value: '驳回'}]"  /></span>
					</li>
					<li>
						<strong>备注：</strong>
						<span><textarea   name="remark"
								 rows="100" cols="100" class="imoia_textarea"
								 style="min-width:200px; max-width:200px; max-height:100px;">
						</textarea></span>
					</li>
				</ul>
			</div>
			<div class="imoia_pop_btn">
				<span><input type="button" id="paperCheck-save" value="审核提交" class="imoia_pop_btn_save"
					onClick="paperCheckSave('${pageContext.request.contextPath}/teacher/checkPaper.do')" />
				</span>
				<span><input type="button" id="paperCheck-close" value="关闭" class="imoia_pop_btn_closed" 
					onClick="popClosed('paperCheck-edit-win')" />
				</span>
			</div>
			<div class="imoia_pop_error" id="paperCheck-edit-error">
				<p></p>
			</div>
			<div class="imoia_pop_correct" id="paperCheck-edit-info">
				<p></p>
			</div>
		</form>
	</div>
	
	<div hidden="true">

		<form id="download-check"
			action="${pageContext.request.contextPath}/fileHandle/downLoadFile.do"
			style="border: 1px solid grey; width: auto;" method="post">
			文件路径：
			<input type="text" id="fileName-check" name="fileName" />
		</form>

	</div>
</div>